package com.test.kotlin06

import java.io.File

open class ConfigMap{

    companion object {  //类似单例
        private const val PATH= "/Users/lwb/AndroidStudioProjects/demo/KotlinDemo/kotlin01/src/main/java/com/test/kotlin03/i have a dream_copy.txt"
        fun load() = File(PATH ).readBytes()
    }

}


fun main() {
    //kotlin 没有static类，方法
    println(ConfigMap.load())
}